/* 初始化样式 */

body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td {
    margin: 0;
    padding: 0;
}

body,
button,
input,
select,
textarea {
    font: 12px/1.5tahoma, arial, \5b8b\4f53;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
}

address,
cite,
dfn,
em,
var {
    font-style: normal;
}

code,
kbd,
pre,
samp {
    font-family: couriernew, courier, monospace;
}

small {
    font-size: 12px;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

legend {
    color: #000;
}

fieldset,
img {
    border: 0;
}

button,
input,
select,
textarea {
    font-size: 100%;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html,
body,
.container {
    /* 定义页面最小宽度 */
    /*  min-width: 1340px;
    overflow-x: auto;*/
    width: 100%;
    height: 100%;
    background-color: #f2f2f2;
    /*overflow: hidden;*/
}


/**{
    margin:0;
    padding: 0;
    border: 0;
}*/

div {
    box-sizing: border-box;
}


/* 公共样式 */

.borderL {
    border-left: 1px solid #ccc;
}

.borderR {
    border-right: 1px solid #ccc;
}

.marginT-1x {
    margin-top: 5px;
}

.marginT-2x {
    margin-top: 10px;
}


/* loading */

.qiein-loading {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /*opacity: .5;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.qiein-loading>div {
    display: inline-flex;
}

.qiein-loading>div>p {
    text-align: center;
    color: #e2e2e2;
}


/* 头部样式*/

.qiein-head {
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    background-color: #1e89e0;
}

.qiein-logo {
    float: left;
    padding: 3px 20px;
    cursor: pointer;
}

.head-nav {
    width: 120px;
    height: inherit;
    text-align: center;
    line-height: 50px;
    margin: 0px 20px;
    color: #fff;
    float: left;
    display: inline-block;
    cursor: pointer;
}

.head-nav:hover {
    background-color: #006bc7;
}

.head-nav:hover .head-nav-ul-wrap {
    display: block;
}

.head-nav i {
    margin-left: 10px;
}

.head-nav-ul-wrap {
    position: absolute;
    z-index: 100;
    top: 50px;
    color: #111;
    font-size: 12px;
    display: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .12);
    box-sizing: border-box;
}

.head-nav ul li {
    min-width: 120px;
    line-height: 40px;
    background-color: #fff;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.head-nav ul li:hover {
    background-color: #eee;
}

.head-search {
    width: auto;
    height: inherit;
    display: inline-block;
    position: absolute;
    right: 210px;
}

.head-search div {
    height: 23px;
    margin-top: 13px;
    color: #fff;
    background-color: #006bc7;
    border-radius: 12px;
    display: inline-block;
    line-height: 23px;
    padding-left: 10px;
    padding-bottom: 3px;
}

.head-search input {
    width: 150px;
    /* height: 24px;
    line-height: 24px;*/
    padding-left: 5px;
    margin-bottom: 1px;
    background-color: #006bc7;
    border: none;
    color: #fff;
    box-shadow: none;
    outline: none;
    border-radius: 12px;
}

.head-prompt {
    width: 80px;
    height: inherit;
    display: inline-block;
    color: #fff;
    position: absolute;
    right: 110px;
    line-height: 50px;
}

.head-prompt i {
    display: inline-block;
}

.head-prompt span {
    background: #FF9900;
    color: #fff;
    width: 30px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    display: inline-block;
    text-align: center;
    border-radius: 6px;
}

.login-user {
    display: inline-block;
    position: absolute;
    right: 10px;
    height: inherit;
    line-height: 50px;
    margin-right: 10px;
    cursor: pointer;
}

.login-user span {
    background: #F1F1F1;
    display: inline-block;
    height: 24px;
    width: 24px;
    line-height: 24px;
    text-align: center;
    vertical-align: middle;
    border-radius: 50%;
}

.login-user span i {
    font-size: 16px;
    line-height: 24px;
    color: #aaa;
    display: inline-block;
}

.login-user div {
    display: inline-block;
    color: #fff;
    font-size: 13px;
}


/* 页面主体*/

.content {
    width: calc(100% - 96px);
    min-width: 1000px;
    margin: 24px auto 0 auto;
    height: calc(100% - 90px);
    min-height: 500px;
    box-sizing: border-box;
    background-color: #fff;
}

.content-title {
    width: 100%;
    height: 45px;
    line-height: 45px;
    font-size: 18px;
    padding: 0 16px;
    background-color: #e2e2e2;
    cursor: default;
}

.main-left {
    width: calc(100% - 360px);
    height: calc(100% - 45px);
    padding: 16px;
    float: left;
}

.main-right {
    width: 360px;
    height: calc(100% - 45px);
    float: left;
    padding: 16px 16px 16px 16px;
    /*background-color: blue;*/
}

.cale-title {
    width: 100%;
    height: auto;
    line-height: 30px;
    margin-bottom: 16px;
}

.cale-title>span {
    display: inline-block;
}


/* 上一月 下一月*/

.cale-title>span:nth-child(1),
.cale-title>span:nth-child(2) {
    width: 40px;
    height: 100%;
    background-color: #eee;
    text-align: center;
    float: left;
    color: #c2c2c2;
    cursor: pointer;
}

.cale-title>span:nth-child(1):hover,
.cale-title>span:nth-child(2):hover {
    color: #fff;
    background-color: #23c0fa;
}

.cale-title>span:nth-child(1) {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    border-right: 1px solid #ccc;
}

.cale-title>span:nth-child(2) {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    margin-right: 24px;
}


/* 今天 */

.cale-title>span:nth-child(3) {
    width: 50px;
    text-align: center;
    font-size: 14px;
    background-color: #23c0fa;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.cale-title>span:nth-child(3):hover {
    background-color: #4fcdfb;
}


/* 年 月 */


/* 快速选择日期的表格 */

.fast-select-date {
    width: 160px;
    margin-left: 80px;
    display: inline-block;
    position: absolute;
    cursor: pointer;
    user-select: none;
}

.fast-select-date>span {
    width: 100%;
    box-sizing: border-box;
    padding: 0 0 0 16px;
    border-radius: 6px;
    height: inherit;
    border: 1px solid #ccc;
    color: #a2a2a2;
    display: inline-block;
    /*background-color: #23c0fa;*/
}

.fast-select-date>span:hover {
    border-color: #23c0fa;
}

.fast-select-date>span>i {
    color: #b2b2b2;
    margin-left: 30px;
}

.fast-select-date table {
    width: 100%;
    margin-top: 2px;
    /*opacity: .8;*/
    color: #777;
    border: 1px solid #c2c2c2;
    border-radius: 4px;
    border-collapse: separate;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .12);
    background-color: #fff;
}

.fast-select-date table td {
    text-align: center;
    /*border: 1px solid #c2c2c2;*/
}

.fast-select-date table tbody td {
    border-top: 1px solid #c2c2c2;
    border-right: 1px solid #c2c2c2;
}

.fast-select-date table tbody tr td:last-child {
    border-right: none;
}

.fast-select-date table td:hover {
    background-color: #eee;
}


/*日历表格*/

.cale-style {
    width: 100%;
    height: calc(100% - 31px);
    cursor: pointer;
    padding-bottom: 16px;
    border-collapse: collapse;
    user-select: none;
}

.cale-style td {
    border: 1px solid #ddd;
}

.cale-style thead td {
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: #f2f2f2;
}

.cale-style tbody td {
    /*line-height: auto;*/
}

.cale-style tbody td:hover {
    background-color: #f2f2f2;
}


/* 日期 的天 */

.cale-style tbody td>div {
    width: 100%;
    height: 100%;
}

.cale-style tbody td>div>div:nth-child(1) {
    padding: 2px 5px 0 0;
    text-align: right;
}


/* 每天安排的数量*/

@media screen and (max-height: 700px) and (min-height: 500px) {
    .cale-style tbody td>div>div:nth-child(2) {
        clear: both;
        margin-top: 12%;
    }
}

@media screen and (max-height: 800px) and (min-height: 701px) {
    .cale-style tbody td>div>div:nth-child(2) {
        clear: both;
        margin-top: 20%;
    }
}

@media screen and (min-height: 801px) {
    .cale-style tbody td>div>div:nth-child(2) {
        clear: both;
        margin-top: 25%;
    }
}


/* 已用 */

.cale-style tbody td>div>div:nth-child(2)>span:nth-child(1) {
    font-size: 16px;
    min-width: 29px;
    font-weight: bold;
    display: inline-block;
    text-align: right;
}


/* 总数 */

.cale-style tbody td>div>div:nth-child(2)>span:nth-child(2) {
    font-size: 13px;
}


/* 今天的样式 */

.cale-isThisDay {
    background-color: #4fcdfb;
}


/*当前月期限样式*/

.cale-notThisMonth {
    color: #c2c2c2 !important;
}


/* 表格中无人 */

.cale-none {
    width: 80%;
    margin: 0 auto;
    border: 1px solid #ccc;
    color: #aaa;
    padding: 0 0 0 8px;
    border-radius: 4px;
    background-color: #fff;
}


/* 表格中档期有余 */

.cale-hasMore {
    width: 80%;
    margin: 0 auto;
    color: #fff;
    padding: 0 0 0 8px;
    border-radius: 4px;
    background-color: #58B7FF;
}


/* 表格中档期已满 */

.cale-isOver {
    width: 80%;
    margin: 0 auto;
    color: #f2f2f2;
    padding: 0 0 0 8px;
    border-radius: 4px;
    /*background-color: #FCB322;*/
    background-color: #FF6C60;
}


/* 右边提示*/

.caption {
    width: 100%;
    height: auto;
    padding-bottom: 8px;
}


/* 档期说明 */

.caption>div:first-child {
    width: 100%;
    height: 46px;
    line-height: 46px;
    font-size: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ccc;
}

.caption>ul {
    width: 100%;
}

.caption>ul>li {
    width: 25%;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    margin: 8px 0;
    box-sizing: border-box;
    cursor: default;
}

.caption>ul>li:nth-child(1) {
    border: 1px solid #ccc;
    color: #aaa;
    border-radius: 4px;
    background-color: #fff;
}


/* 档期 有余*/

.caption>ul>li:nth-child(2) {
    color: #fff;
    border-radius: 4px;
    background-color: #58B7FF;
}


/* 档期已满 */

.caption>ul>li:nth-child(3) {
    color: #fff;
    border-radius: 4px;
    background-color: #FF6C60;
}


/* 操作记录 */

.record-style {
    width: 100%;
    height: calc(100% - 140px);
    padding-bottom: 16px;
}

.record-style ul {
    max-height: 100%;
    overflow: auto;
}

.record-style ul::-webkit-scrollbar {
    /* 整个滚动条的样式 */
    width: 10px;
    height: 10px;
    border-radius: 6px;
    background-color: #eee;
}

.record-style ul::-webkit-scrollbar-thumb {
    /* 滚动条中间滚动的颜色 */
    border-radius: 6px;
    background-color: #c2c2c2;
}

.record-style>div:first-child {
    width: 100%;
    height: 46px;
    line-height: 46px;
    font-size: 16px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 8px;
    color: #333;
    cursor: pointer;
}


/*查看更多*/

.record-style>div>span:last-child {
    padding-right: 8px;
    font-size: 14px;
    color: #333;
    float: right;
    cursor: pointer;
}

.record-style>div>span:last-child:hover {
    color: #23c0fa;
}

.record-style ul li {
    width: 100%;
    height: 35px;
    font-size: 15px;
    color: #717171;
    padding: 0 0 0 8px;
    line-height: 35px;
    box-sizing: border-box;
    cursor: pointer;
}

.record-style>ul>li:hover {
    background-color: #f8f8f8;
}

.record-style ul li:nth-child(even) {
    background-color: #f8f8f8;
}
